<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sort_genomic_ranges(rngs):
 """sort multiple ranges"""

  return sorted(rngs, key=lambda x: (x.chr, x.start, x.end))