updated sorting
Merge remote-tracking branch 'github/master'