title: Reverse Slice of strings
body: <p>I don't understand what is wrong with the below implementation, I had a look at <code>sort.StringSlice</code> and it looks the same.</p>
  
  <pre><code>type RevStr []string
  
  func(s RevStr) Len() int { return len(s) }
  func(s RevStr) Less(i, j int) bool { return s[i] &lt; s[j] }
  func(s RevStr) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
  
  func Reverse(input string) string {
    rs := RevStr(strings.Split(input, " "))
    sort.Reverse(rs)
    return strings.Join(rs, " ")
  }
  </code></pre>