func sortParameters(measures []string, dimensions []float64) ([]string, []float64) {
	d := make([]float64, len(dimensions))
	copy(d, dimensions)

	sort.Sort(sort.Reverse(sort.Float64Slice(d)))

	var m []string
	for _, v := range d {
		index, _ := findFloat64(dimensions, v)
		m = append(m, measures[index])
	}
	return m, d
}
// sortParameters Sorts the list in descending order of the sales value.
sortParameters Sorts the list in descending order of the sales value.
// sortParameters Sorts the list in descending order of the sales value .
func sortParameters(measures []string, dimensions []float64) ([]string, []float64) {
	d := make([]float64, len(dimensions))
	copy(d, dimensions)
	sort.Sort(sort.Reverse(sort.Float64Slice(d)))
	var m []string
	for _, v := range d {
		index, _ := findFloat64(dimensions, v)
		m = append(m, measures[index])
	}
	return m, d
}
func sortParameters ( measures [ ] string , dimensions [ ] float64 ) ( [ ] string , [ ] float64 ) { d := make ( [ ] float64 , len ( dimensions ) ) copy ( d , dimensions ) sort . Sort ( sort . Reverse ( sort . Float64Slice ( d ) ) ) var m [ ] string for _ , v := range d { index , _ := findFloat64 ( dimensions , v ) m = append ( m , measures [ index ] ) } return m , d }
sortParameters Sorts the list in descending order of the sales value.
sortParameters Sorts the list in descending order of the sales value .