mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 03:38:11 +08:00
* more lint * fix typo introduced in delinting * more lint * remove dead code * lint fixes * lint
8 lines
218 B
JavaScript
8 lines
218 B
JavaScript
// jshint esversion: 6
|
|
export default values =>
|
|
Object.keys(values).sort((a, b) => {
|
|
const textA = a.toUpperCase();
|
|
const textB = b.toUpperCase();
|
|
return textA < textB ? -1 : textA > textB ? 1 : 0;
|
|
});
|