.table th.sort {
  cursor: pointer;
  position: relative;
}

.table-sm th.sort {
  padding-right: calc(.3rem + 8px);
}

.table th.sort::before,
.table th.sort::after {
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  border: 5px solid transparent;
  right: 10px;
  top: 50%;
}

.table th.sort::before {
  border-bottom-color: #aaa;
  margin-top: -10px;
}

.table th.sort::after {
  border-top-color: #aaa;
  margin-top: 2px;
}

.table th.asc::before {
  border-bottom-color: #444;
}

.table th.desc::after {
  border-top-color: #444;
}
