JPMorganChase Interview Question

Binary Cardinality sorting when given decimal numbers