* Fixed sort order implementation