Timeline for Sort and merge list based on another list
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
|
|
Jan 3, 2017 at 10:02 | comment | added | t3chb0t | @ManiothShijith I'm afraid there might not be a better way for solving this without loosing the order. The merge is very specific. | |
Jan 3, 2017 at 9:43 | comment | added | Manioth Shijith | This will be used to plan some processes for creating a product, The processes are different for different products, There may be situation where the user has to change order of some processes(Different Plan) so they will pass the order using route plans list, So its important to maintain the order of list. | |
Jan 3, 2017 at 9:32 | comment | added | t3chb0t | @ManiothShijith you're right, I've pasted the wrong result. Yes, it changes the order. To keep it there're should be property that would allow sorting them like a SequenceNumber or a Timestamp or something. What's with the order? Why do you need to maintain it? There doesn't seem to be a reason for it. Just curious. | |
Jan 3, 2017 at 9:30 | history | edited | t3chb0t | CC BY-SA 3.0 |
edited body
|
Jan 3, 2017 at 9:20 | comment | added | Manioth Shijith | It should keep the order | |
Jan 3, 2017 at 9:18 | comment | added | Manioth Shijith | This does't keep the order, The output I got running this sample is 'code' 'Id : 120 Name : Process 29 Code : T20 Id : 100 Name : Process 2 Code : A20 Id : 99 Name : Process 3 Code : S20 Id : 85 Name : Process 229 Code : B20 Id : 220 Name : Process 39 Code : C20 Id : 15 Name : Process 20 Code : D20 Id : 101 Name : Process 129 Code : G20 Id : 222 Name : Process new Code :' "Process new Code" moved to last. | |
Jan 3, 2017 at 6:11 | history | answered | t3chb0t | CC BY-SA 3.0 |