[FIX] Setting locale to C for enforcing C sorting order.