Paul, This is a really valuable idea. It will work in some situations for me. But in other situations I do not know if table will have a key of type int[] or string[] or even mixed. That’s why I’d wish to use JSON arrays and customize sort ordering. Anyway I appreciate you shared this approach! Regards, Anthony Ananich On Jul 27, 2016, at 18:00, Paul Jungwirth <pj@xxxxxxxxxxxxxxxxxxxxxxxx> wrote: On 07/27/2016 07:44 AM, Vick Khera wrote:On Wed, Jul 27, 2016 at 3:28 AM, Anton Ananich <anton.ananich@xxxxxxxxx> wrote:In my situation this order is invalid. Obviously, year 2016 should go after |