Sort using localizedCompare. Fixes MYHOARD-611
Added warning, updated pragmas