Skip to content

Sort lines should sort entire file when there is no selection #64893

@massung

Description

@massung

Issue Type: Bug

Using the built-in line sorting, I have a sample case where the lines sort incorrectly. Below is a list of lines sorted how VSCode sorted them (which is wrong). You can put them into Sublime Text and it will sort them correctly.


A list of lines
CADD_phred
CADD_raw_rankscore
CADD_raw
clinvar_clnsig
clinvar_golden_stars
clinvar_rs
clinvar_trait
DANN_rankscore
DANN_score
Eigen-PC-raw_rankscore
Eigen-PC-raw
Eigen-phred
Eigen-raw
FATHMM_converted_rankscore
FATHMM_pred
FATHMM_score
fathmm-MKL_coding_group
fathmm-MKL_coding_pred
fathmm-MKL_coding_rankscore
fathmm-MKL_coding_score
GenoCanyon_score_rankscore
GenoCanyon_score
GERP++_NR
GERP++_RS_rankscore
GERP++_RS
GM12878_confidence_value
GM12878_fitCons_score_rankscore
GM12878_fitCons_score
GTEx_V6_gene
GTEx_V6_tissue
H1-hESC_confidence_value
H1-hESC_fitCons_score_rankscore
H1-hESC_fitCons_score
HUVEC_confidence_value
HUVEC_fitCons_score_rankscore
HUVEC_fitCons_score
integrated_confidence_value
integrated_fitCons_score_rankscore
integrated_fitCons_score
Interpro_domain
LRT_converted_rankscore
LRT_Omega
LRT_pred
LRT_score
mcapv1.0
MetaLR_pred
MetaLR_rankscore
MetaLR_score
MetaSVM_pred
MetaSVM_rankscore
MetaSVM_score
MutationAssessor_pred
MutationAssessor_score_rankscore
MutationAssessor_score
MutationAssessor_UniprotID
MutationAssessor_variant
MutationTaster_AAE
MutationTaster_converted_rankscore
MutationTaster_model
MutationTaster_pred
MutationTaster_score
phastCons100way_vertebrate_rankscore
phastCons100way_vertebrate
phastCons20way_mammalian_rankscore
phastCons20way_mammalian
phyloP100way_vertebrate_rankscore
phyloP100way_vertebrate
phyloP20way_mammalian_rankscore
phyloP20way_mammalian
Polyphen2_HDIV_pred
Polyphen2_HDIV_rankscore
Polyphen2_HDIV_score
Polyphen2_HVAR_pred
Polyphen2_HVAR_rankscore
Polyphen2_HVAR_score
PROVEAN_converted_rankscore
PROVEAN_pred
PROVEAN_score
Reliability_index
SIFT_converted_rankscore
SIFT_pred
SIFT_score
SiPhy_29way_logOdds_rankscore
SiPhy_29way_logOdds
SiPhy_29way_pi
Transcript_id_VEST3
Transcript_var_VEST3
VEST3_rankscore
VEST3_score

VS Code version: Code 1.29.1 (bc24f98, 2018-11-15T19:13:36.375Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz (4 x 3504)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.93GB (5.77GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (22)
Extension Author (truncated) Version
better-comments aar 2.0.3
kivy-vscode Bat 0.5.0
jupyter don 1.1.4
EditorConfig Edi 0.12.5
vscode-scalafmt gab 0.1.2
pig Gan 2.2.0
cypher-query-language jak 1.0.2
vscode-sbt-scala lig 0.2.3
twig-language-2 mbl 0.3.1
rainbow-csv mec 0.8.0
python ms- 2018.11.0
cpptools ms- 0.20.1
PowerShell ms- 1.10.1
sqltools mtx 0.15.1
vscode-docker Pet 0.4.0
biosyntax rea 0.0.9
scala sca 0.2.0
shader sle 1.1.4
vscode-hexdump sle 1.7.2
shadron vch 0.1.0
prettify-selected-json vth 1.0.3
gitblame wad 2.6.3

(1 theme extensions excluded)

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor-contribEditor collection of extrasfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions