Tag: sorting

3561 How to pair socks from a pile efficiently? 2013-01-19T15:34:35.667

3112 How do I sort a dictionary by value? 2009-03-05T00:49:05.383

1998 Sort array of objects by string property value 2009-07-15T03:17:47.440

1454 How do I sort a list of dictionaries by a value of the dictionary? 2008-09-16T14:27:47.470

1436 Sort a Map<Key, Value> by values 2008-09-20T21:03:23.403

1196 How do I sort an NSMutableArray with custom objects in it? 2009-04-30T06:10:56.923

1163 How to sort a dataframe by multiple column(s)? 2009-08-18T21:33:18.473

1072 Sorting an array of JavaScript objects 2009-06-11T03:59:54.460

994 Sort ArrayList of custom Objects by property 2010-05-06T21:09:36.060

961 How to Sort a List<T> by a property in the object 2010-07-22T13:13:25.497

928 Sort Multi-dimensional Array by Value 2010-04-23T13:54:26.653

865 Swift Beta performance: sorting arrays 2014-06-07T23:53:45.487

711 How do you sort a dictionary by value? 2008-08-02T00:40:58.200

673 How can I sort a dictionary by key? 2012-01-25T10:54:29.483

628 Sorting 1 million 8-digit numbers in 1 MB of RAM 2012-10-05T14:17:12.867

587 How to sort an array of integers correctly 2009-06-30T10:43:11.510

580 How to sort a list of objects based on an attribute of the objects? 2008-12-31T16:41:32.833

497 Sorting JavaScript Object by property value 2009-07-01T15:06:40.677

458 How to sort (list/tuple) of lists/tuples? 2010-06-25T23:01:41.033

426 Sort array of objects by object fields 2010-11-26T03:50:56.690

420 Why is there no SortedList in Java? 2012-01-04T10:35:53.513

412 List<T> OrderBy Alphabetical Order 2008-10-09T16:48:03.313

393 How can I convert the "arguments" object to an array in JavaScript? 2009-06-07T00:08:21.243

380 Swift how to sort array of custom objects by property value 2014-06-09T22:27:01.290

374 Fastest sort of fixed length 6 int array 2010-05-07T07:24:45.013

367 How to sort a NSArray alphabetically? 2009-08-29T11:16:49.223

354 Sort JavaScript object by key 2011-03-29T02:08:51.640

354 orderBy multiple fields in Angular 2013-06-11T06:07:36.133

346 How to sort a list of strings? 2008-08-30T17:03:09.350

326 How to sort an array of associative arrays by value of a given key in PHP? 2009-10-20T22:47:26.813

315 Pagination in a REST web application 2009-04-22T09:53:59.413

314 Why is quicksort better than mergesort? 2008-09-16T08:37:52.477

312 Preserving order with LINQ 2008-10-15T12:20:13.293

301 How to implement classic sorting algorithms in modern C++? 2014-07-09T09:59:13.990

295 Sort a list by multiple attributes? 2010-11-20T15:30:53.960

293 Write a program to find 100 largest numbers out of an array of 1 billion numbers 2013-10-07T14:39:56.873

291 How to sort an ArrayList? 2013-04-27T12:48:16.133

274 Python list sort in descending order 2010-11-15T10:37:23.373

260 How to sum a variable by group? 2009-11-02T09:01:28.513

260 Sorting a vector in descending order 2012-01-26T20:47:02.990

260 How can I sort arrays and data in PHP? 2013-06-28T11:53:56.493

245 SQL how to make null values come last when sorting ascending 2009-09-30T14:56:50.023

239 How to convert a Collection to List? 2009-02-24T01:56:11.413

236 Sorting an array in descending order in Ruby 2010-04-15T01:32:30.013

236 Sort hash by key, return hash in Ruby 2010-12-02T20:31:15.930

233 Sorting list based on values from another list? 2011-07-07T23:56:57.757

229 Java Array Sort descending? 2009-11-07T23:05:06.577

225 How may I sort a list alphabetically using jQuery? 2009-07-16T01:20:59.143

225 Sorting arrays in NumPy by column 2010-05-13T15:32:57.557

223 What's the most efficient way to erase duplicates and sort a vector? 2009-06-25T00:28:42.517

212 Best way to list files in Java, sorted by Date Modified? 2008-10-14T22:04:56.200

210 Is there an upside down caret character? 2008-12-03T21:03:02.047

208 How to sort in-place using the merge sort algorithm? 2010-04-03T11:04:17.000

205 Fastest way to sort 10 numbers? (numbers are 32 bit) 2015-08-23T22:23:33.070

204 How to sort an ArrayList in Java 2013-08-26T10:20:05.337

200 Sorting a vector of custom objects 2009-09-04T17:05:37.303

199 Does Python have a built in function for string natural sort? 2011-01-29T11:55:53.103

196 How to sort an array of objects with jquery or javascript 2011-03-31T17:33:21.983

193 How do I Sort a Multidimensional Array in PHP 2008-09-18T20:45:56.123

193 Throwing the fattest people off of an overloaded airplane. 2011-10-12T21:11:54.397

190 django order_by query set, ascending and descending 2012-03-23T04:05:29.277

185 In-Place Radix Sort 2009-01-20T21:04:06.667

177 Javascript Array.sort implementation? 2008-10-24T18:08:14.087

177 How to sort a list of lists by a specific index of the inner list? 2010-11-13T21:54:41.813

173 C++ sorting and keeping track of indexes 2009-10-16T11:18:24.393

160 Which sort algorithm works best on mostly sorted data? 2008-10-20T21:38:24.207

159 How to perform case-insensitive sorting in JavaScript? 2012-01-25T01:52:13.543

158 Is there a way to measure how sorted a list is? 2013-06-08T00:11:00.100

156 MySQL: Sort GROUP_CONCAT values 2009-06-15T10:20:50.680

156 What is stability in sorting algorithms and why is it important? 2009-10-05T00:40:16.140

156 Are there any worse sorting algorithms than Bogosort (a.k.a Monkey Sort)? 2010-04-09T18:24:09.537

154 Sorted collection in Java 2009-01-06T12:02:05.880

154 jQuery table sort 2010-07-01T17:39:43.247

150 Sorting a tab delimited file 2009-06-24T09:39:13.877

150 Is there a way to 'uniq' by column? 2009-12-16T16:03:16.660

147 How can I sort a List alphabetically? 2009-04-02T07:42:15.347

145 disable a column sorting using jquery datatables 2010-10-14T11:21:02.873

144 When is each sorting algorithm used? 2009-12-19T18:35:02.637

142 How to use Comparator in Java to sort 2010-05-15T06:22:07.850

133 Sorting a Python list by two fields 2011-03-06T19:36:08.090

129 How to compare software version number using js? (only number) 2011-07-26T15:31:49.100

127 Why doesn't java.lang.Number implement Comparable? 2009-01-26T17:32:52.977

127 Bubble Sort Homework 2009-05-21T21:47:24.853

125 How to use SQL Order By statement to sort results case insensitive? 2010-03-09T23:30:55.843

123 How to sort an array of hashes in ruby 2011-03-30T08:32:29.233

122 Dynamic Sorting within SQL Stored Procedures 2008-09-29T16:04:19.683

121 Sorting multiple keys with Unix sort 2008-12-10T20:48:39.027

120 Sort an Array by keys based on another Array? 2008-12-08T00:24:15.740

120 C# list.Orderby descending 2010-10-13T15:21:57.140

120 Which parallel sorting algorithm has the best average case performance? 2010-10-19T15:07:32.260

120 How to sort List of objects by some property 2011-04-27T14:18:12.007

119 from list of integers, get number closest to a given value 2012-08-27T11:32:07.733

119 What is the difference between `sorted(list)` vs `list.sort()`? 2014-03-16T20:16:10.280

119 Finding median of list in Python 2014-06-07T21:04:05.890

118 Is it correct to use JavaScript Array.sort() method for shuffling? 2009-06-07T20:56:09.193

118 Order data frame rows according to vector with specific order 2012-08-15T20:53:10.033

116 Best way to randomize an array with .NET 2008-09-20T17:33:26.157

116 Sorting dictionary keys in python 2009-02-22T21:19:51.070

115 Natural Sort Order in C# 2008-10-29T22:04:33.753