More flexible sorting syntax