given a number or a string, returns the ranges you should be querying in the default js string collation